import request from '@/utils/request'

// 查询款箱出入库记录列表
export function listBoxInoutRecord(query) {
  return request({
    url: '/service/boxInoutRecord/list',
    method: 'get',
    params: query
  })
}

// 查询款箱出入库记录详细
export function getBoxInoutRecord(id) {
  return request({
    url: '/service/boxInoutRecord/' + id,
    method: 'get'
  })
}

// 新增款箱出入库记录
export function addBoxInoutRecord(data) {
  return request({
    url: '/service/boxInoutRecord',
    method: 'post',
    data: data
  })
}

// 修改款箱出入库记录
export function updateBoxInoutRecord(data) {
  return request({
    url: '/service/boxInoutRecord',
    method: 'put',
    data: data
  })
}

// 删除款箱出入库记录
export function delBoxInoutRecord(id) {
  return request({
    url: '/service/boxInoutRecord/' + id,
    method: 'delete'
  })
}
